<?php
namespace Admin\Controller;
use Common\Controller\AdminBaseController;
/**
 * 后台首页控制器
 */
class CorpsController extends AdminBaseController{
	/**
	 * 首页
	 */
	

        
	public function index(){
		
		//$assign= D('Blocks')->getdata_byid($id);
		// $this->assign($assign);
		 //$this->display();
	}
	/**
	 * elements
	 */
	public function corpedit(){

		$this->display('edit_menu');
	}
	
	

public function getcorp(){
		$data= D('Blocks')->getdata_byid($id);
		 $assign=array(
		 	'block_data'=>$data
		 	);
		 $this->assign($assign);
		 $this->display();
		 mydump($assign);
		        }


}
